import request from '@/utils/request'

// 同步分类
export function doSyncCategory(platformType, shopId) {
  return request({
    url: '/goods/thirdCategory/doSyncCategory',
    method: 'get',
    params: { platformType, shopId }
  })
}

// 获取分类
export function getThirdCategoryTree(platformType, shopId) {
  return request({
    url: '/goods/thirdCategory/getThirdCategoryTree',
    method: 'get',
    params: { platformType, shopId }
  })
}
